﻿using ERP.Team.RBAC.xzc;
using ERP.xzc.User.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace ERP.xzc.User
{
    public interface IUserService:IApplicationService
    {
        /// <summary>
        /// 添加用户
        /// </summary>
        /// <param name="userdto"></param>
        /// <returns></returns>
        Task<int> AddUser(UserDto userdto);
        /// <summary>
        /// 查询用户
        /// </summary>
        /// <returns></returns>
        Task<List<UserModel>> ShowUser();
        /// <summary>
        /// 删除用户
        /// </summary>
        /// <param name="userdto"></param>
        /// <returns></returns>
        Task<int> DeleteUser(int id);
    }
}
